package com.king.shiro;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class AccountProfile implements Serializable {
    private long id;
    private String username;
    private String gender;
    private String email;
    private String avatar;
    private String sign;
    private Date created;

    public String getSex(){
        return "0".equals(gender)?"男":"女";
    }
}
